//
//  CCHomeTitleBtn.swift
//  swift_weibo
//
//  Created by ccl on 16/3/4.
//  Copyright © 2016年 LittleBoy. All rights reserved.
//

import UIKit

class CCHomeTitleBtn: UIButton {

    override func layoutSubviews() {
        super.layoutSubviews()
        var tFrame = titleLabel!.frame
        tFrame.origin.x = 0
        titleLabel!.frame = tFrame
        // titleLabel?.frame.offset(dx: 0, dy: 0)
        
        var iFrame = imageView!.frame
        iFrame.origin.x = tFrame.width + 5
        imageView!.frame = iFrame    }

}
